    <%@ page session="true" import="java.util.*, shopping.beans.CD" %>
    <%
    Vector<CD> buylist = (Vector<CD>) session.getAttribute("shoppingcart");
    if (buylist != null && (buylist.size() >0)) {
    %>
    <center>
    <table border="1" cellpadding="0" width="100%" bgcolor="#FFFFFF">
    <tr>
    <td><b>ALBUM</b></td>
    <td><b>ARTIST</b></td>
    <td><b>COUNTRY</b></td>
    <td><b>PRICE</b></td>
    <td><b>QUANTITY</b></td>
    <td></td>
    </tr>
    <%
    for (int index=0; index< buylist.size();index++) {
    CD anOrder = (CD) buylist.elementAt(index);
    %>
    <tr>
    <td><b><%= anOrder.getAlbum() %></b></td>
    <td><b><%= anOrder.getArtist() %></b></td>
    <td><b><%= anOrder.getCountry() %></b></td>
    <td><b><%= anOrder.getPrice() %></b></td>
    <td><b><%= anOrder.getQuantity() %></b></td>
    <td>
    <form name="deleteForm" action="ShoppingServlet" method="POST">
    <input type="submit" value="Delete"> 
    <input type="hidden" name= "delindex" value="<%= index %>">
    <input type="hidden" name="action" value="DELETE">  <!-- (Session tracking) -->
    </form>
    </td>
    </tr>
    <% } %>
    </table>
    <br />
    <form name="checkoutForm" action="ShoppingServlet" method="POST">
    <input type="hidden" name="action" value="CHECKOUT">
    <input type="submit" name="Checkout" value="Checkout">
    </form>
    </center>
    <% } %>